import React from "react";
import ReactDom from "react-dom";
import {Provider} from "react-redux";
import {createStore} from "redux";

import UIList from "./UIList";

const uuid = require("uuid").v1;
const list = [
  {name:"leoia",id:uuid()},
  {name:"leoib",id:uuid()},
  {name:"leoic",id:uuid()},

];

const store = createStore(updater,{list});

ReactDom.render(
  <Provider store={store}>
    <UIList/>
  </Provider>
  ,document.body
)
